package com.mutual.reins.config.entity;

import java.math.BigDecimal;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author CodeGenerate
 * @since 2021-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("FHRETEN")
public class FhReTen implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("UWYEAR")
    private String uwYear;

    @TableField("RISKCODE")
    private String riskCode;

    @TableField("RISKLEVEL")
    private String riskLevel;

    @TableField("RISKLEVELDESC")
    private String riskLevelDesc;

    @TableField("RISKCLASS")
    private String riskClass;

    @TableField("RISKCLASSDESC")
    private String riskClassDesc;

    @TableField("GRADE")
    private String grade;

    @TableField("CURRENCY")
    private String currency;

    @TableField("RETENTIONVALUE")
    private BigDecimal retentionValue = new BigDecimal("0.00");

    @TableField("STARTDATE")
    private LocalDate startDate;

    @TableField("ENDDATE")
    private LocalDate endDate;

    @TableField("REMARKS")
    private String reMarks;

    @TableField("RETENFLAG")
    private String reTenFlag;

    @TableField("FLAG")
    private String flag;

    @TableField("RETENTIONRATE")
    private BigDecimal retentionRate = new BigDecimal("0.00");

    @TableField("BUSINESS")
    private String business;

    @TableField("BUSINESSDESC")
    private String businessDesc;


}
